From 818effa326a8d01bc20295c71dc331901501d628 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 2 Jun 2005 23:20:36 +0000 Subject: [PATCH] From Andrew Kirmse: fix intermittent Garmin USB problem on Windows. --- gpsbabel/jeeps/gpsserial.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsbabel/jeeps/gpsserial.c b/gpsbabel/jeeps/gpsserial.c index 9e8eb41ad..4883b93a3 100644 --- a/gpsbabel/jeeps/gpsserial.c +++ b/gpsbabel/jeeps/gpsserial.c @@ -178,6 +178,9 @@ int32 GPS_Serial_Chars_Ready(int32 fd) int32 GPS_Serial_Wait(int32 fd) { + + if (gps_is_usb) return 1; + /* Wait a short time before testing if data is ready. * The GPS II, in particular, has a noticable time responding * with a response to the device inquiry and if we give up on this -- 2.30.2